import request from '../utils/request';

// 获取概况信息
export function getSummaryData(data) {
    return request({
        url: '/summarydata',
        method: "post",
        data: data
    })
}

// 获取学员信息
export function getStudentData(data) {
    return request({
        url: '/studentdata',
        method: "post",
        data: data
    })
}

// 获取课程信息
export function getClassData(data) {
    return request({
        url: '/classdata',
        method: "post",
        data: data
    })
}

// 获取教师信息
export function getTeacherData(data) {
    return request({
        url: '/steacherdata',
        method: "post",
        data: data
    })
}

// 获取教育头条
export function getEduNewsData(data) {
    return request({
        url: '/edunewsdata',
        method: "post",
        data: data
    })
}

// 获取待办事项
export function getTodoDate(data) {
    return request({
        url: '/tododata',
        method: "post",
        data: data
    })
}